package com.lzy.business.response;


import java.math.BigDecimal;
import java.util.List;

public class AgencyManagementReponse {
    /**
     * 代理商id
     */
    private Long id;
    /**
     * 姓名
     */
    private String name;
    /**
     * 代理商手机
     */
    private String phone;
    /**
     * 会员昵称
     */
    private String nickName;
    /**
     * 代理商编号
     */
    private String agentNumber;
    /**
     * 所在地
     */
    private String location;
    /**
     * 所属上级
     */
    private String superior;
    /**
     * 所属体系
     */
    private String system;
    /**
     * 成为代理商时间(错误)
     */
    private String createDate;

    /**
     * 状态
     */
    private Integer state;

    /**
     * 拥有协议
     */
    private List<AgentProtocolDtoReponse> AgentProtocols;

    /**
     * 成为代理商时间
     */
    private String agentTime;

    /**
     * 销售人会员id
     */
    private Long saleMan;

    /**
     * 协议分佣
     */
    private String agentCommission;

    public String getAgentCommission() {
        return agentCommission;
    }

    public void setAgentCommission(String agentCommission) {
        this.agentCommission = agentCommission;
    }

    public String getAgentTime() {
        return agentTime;
    }

    public void setAgentTime(String agentTime) {
        this.agentTime = agentTime;
    }

    public Integer getState() {
        return state;
    }

    public List<AgentProtocolDtoReponse> getAgentProtocols() {
        return AgentProtocols;
    }

    public void setAgentProtocols(List<AgentProtocolDtoReponse> agentProtocols) {
        AgentProtocols = agentProtocols;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getAgentNumber() {
        return agentNumber;
    }

    public void setAgentNumber(String agentNumber) {
        this.agentNumber = agentNumber;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getSuperior() {
        return superior;
    }

    public void setSuperior(String superior) {
        this.superior = superior;
    }

    public String getSystem() {
        return system;
    }

    public void setSystem(String system) {
        this.system = system;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate.substring(0, createDate.lastIndexOf("."));
    }

    public Long getSaleMan() {
        return saleMan;
    }

    public void setSaleMan(Long saleMan) {
        this.saleMan = saleMan;
    }
}
